//
//  EditDataListCell.m
//  ShangHaiTuJI
//
//  Created by xiaoxiangtuji on 2017/9/27.
//  Copyright © 2017年 xiaoxiangtuji. All rights reserved.
//

#import "EditDataListCell.h"

@implementation EditDataListCell

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        _label = [[UILabel alloc] init];
        _label.textAlignment = NSTextAlignmentCenter;
        _label.layer.borderWidth = 1.0f;
        _label.layer.borderColor = [UIColor blackColor].CGColor;
        _label.textColor = [UIColor blackColor];
        [self.contentView addSubview:_label];
        [_label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self.contentView).with.insets(UIEdgeInsetsMake(0, 0, 0, 0));
        }];
        _label.layer.cornerRadius = self.bounds.size.height/2;
        _label.layer.masksToBounds = YES;
    }
    return self;
}


@end
